package team.group.exam.biz;

import java.util.List;

import team.group.exam.entity.TbAdmin;

public interface IAdminBiz {
	  
	void addAdminInfo(TbAdmin admin);
	
	void deleteAdminInfo(int id);
	
	void updateAdminInfo(TbAdmin admin);
	
	TbAdmin getAdminInfo(TbAdmin admin);
	
	TbAdmin getAdminById(int id);
	/**
	 * 分页
	 * @param currentPage
	 * @param pageSize
	 * @return
	 */
	List<TbAdmin> getAdminsInfo(int currentPage,int pageSize);
	
	int getCountPage(int pageSize);
	
	
}

